﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace RoBHERT_TileTool
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form1 tileTool = new Form1();
            tileTool.FormClosed += tileTool.CloseThis;
            tileTool.Show();
            while (tileTool.run == true)
            {
                tileTool.Update();
                tileTool.Render();
                Application.DoEvents();
            }
        }
    }
}
